<script>
	import {
		initAdSdk
	} from '@/uni_modules/baidu-ads'
	export default {
		onLaunch: function() {
			console.log('App Launch')
			initAdSdk({
				appid: "e866cfb0",
				appName: "网盟demo",
				wxAppId: "wx123456",
				debug: true,
				success: () => {
					console.log("initAdSdk success")
				},
				fail: () => {
					console.log("initAdSdk fail")
				}
			})
		},
		onShow: function() {
			console.log('App Show')
		},
		onHide: function() {
			console.log('App Hide')
		}
	}
</script>

<style>
	/*每个页面公共css */
</style>